package com.cx.mapper;

import com.cx.pojo.Body;
import com.cx.pojo.BodyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BodyMapper {
    int countByExample(BodyExample example);

    int deleteByExample(BodyExample example);

    int deleteByPrimaryKey(Integer bodyId);

    int insert(Body record);

    int insertSelective(Body record);

    List<Body> selectByExample(BodyExample example);

    Body selectByPrimaryKey(Integer bodyId);

    int updateByExampleSelective(@Param("record") Body record, @Param("example") BodyExample example);

    int updateByExample(@Param("record") Body record, @Param("example") BodyExample example);

    int updateByPrimaryKeySelective(Body record);

    int updateByPrimaryKey(Body record);

    //查询所有
    List<Body> selectAllBody(Body body);
}